package com.cino.demos.service;

import com.cino.demos.mapper.batch.BatchMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BatchService {

    @Autowired
    private BatchMapper batchMapper;

    public void delBatchByArray(Integer[] ids){
        batchMapper.delBatchByArray(ids);
    }

    public void delBatchByList(List<Integer> ids){
        batchMapper.delBatchByList(ids);
    }

}
